
package com.one.odf.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for officialCommunicationType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="officialCommunicationType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Decision" type="{}offComJuryDecisionType" minOccurs="0"/&gt;
 *         &lt;element name="Protest" type="{}offComProtestType" minOccurs="0"/&gt;
 *         &lt;element name="ImageData" type="{}pictureType" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="PublishTime" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "officialCommunicationType", propOrder = {
    "decision",
    "protest",
    "imageData"
})
public class OfficialCommunicationType {

    @XmlElement(name = "Decision")
    protected OffComJuryDecisionType decision;
    @XmlElement(name = "Protest")
    protected OffComProtestType protest;
    @XmlElement(name = "ImageData")
    protected PictureType imageData;
    @XmlAttribute(name = "PublishTime", required = true)
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar publishTime;

    /**
     * Gets the value of the decision property.
     * 
     * @return
     *     possible object is
     *     {@link OffComJuryDecisionType }
     *     
     */
    public OffComJuryDecisionType getDecision() {
        return decision;
    }

    /**
     * Sets the value of the decision property.
     * 
     * @param value
     *     allowed object is
     *     {@link OffComJuryDecisionType }
     *     
     */
    public void setDecision(OffComJuryDecisionType value) {
        this.decision = value;
    }

    /**
     * Gets the value of the protest property.
     * 
     * @return
     *     possible object is
     *     {@link OffComProtestType }
     *     
     */
    public OffComProtestType getProtest() {
        return protest;
    }

    /**
     * Sets the value of the protest property.
     * 
     * @param value
     *     allowed object is
     *     {@link OffComProtestType }
     *     
     */
    public void setProtest(OffComProtestType value) {
        this.protest = value;
    }

    /**
     * Gets the value of the imageData property.
     * 
     * @return
     *     possible object is
     *     {@link PictureType }
     *     
     */
    public PictureType getImageData() {
        return imageData;
    }

    /**
     * Sets the value of the imageData property.
     * 
     * @param value
     *     allowed object is
     *     {@link PictureType }
     *     
     */
    public void setImageData(PictureType value) {
        this.imageData = value;
    }

    /**
     * Gets the value of the publishTime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getPublishTime() {
        return publishTime;
    }

    /**
     * Sets the value of the publishTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setPublishTime(XMLGregorianCalendar value) {
        this.publishTime = value;
    }

}
